]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Use ClutterActor.background-color instead of ClutterStage.color
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 27 Jun 2014 14:50:25 +0000 (10:50 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 27 Jun 2014 14:54:10 +0000 (10:54 -0400)
The latter is deprecated.

js/ui/layout.js

index cb838269ec25945f2c0c3145182fa9d708cfc5a6..faa10f601989ecc8b0fa3fbde82ec0510664614c 100644 (file)
@@ -163,7 +163,7 @@ const LayoutManager = new Lang.Class({
         // Normally, the stage is always covered so Clutter doesn't need to clear
         // it; however it becomes visible during the startup animation
         // See the comment below for a longer explanation
-        global.stage.color = DEFAULT_BACKGROUND_COLOR;
+        global.stage.background_color = DEFAULT_BACKGROUND_COLOR;
 
         // Set up stage hierarchy to group all UI actors under one container.
         this.uiGroup = new Shell.GenericContainer({ name: 'uiGroup' });